package com.zelix;

import java.io.File;
import java.util.Vector;
import java.util.zip.ZipFile;

public class ax
{

    public static final String a = System.getProperty(z(z("\025]iT5\026Ym]i\004HrN")));
    Vector b;
    Vector c;
    private static String z[];

    public ax(String s, File file)
    {
        c = new Vector();
        b = cy.a(s, c, file);
    }

    public String a()
    {
        StringBuffer stringbuffer;
        int i;
        int j;
        j = hs.c;
        stringbuffer = new StringBuffer();
        i = 0;
        if(j == 0) goto _L2; else goto _L1
_L1:
label0:
        {
            Object obj = b.elementAt(i);
            if(obj instanceof File)
            {
                stringbuffer.append(((File)b.elementAt(i)).getAbsolutePath());
                if(j == 0)
                    break label0;
            }
            stringbuffer.append(((ZipFile)b.elementAt(i)).getName());
        }
        if(i + 1 < b.size())
            stringbuffer.append(a);
        i++;
_L2:
        if(i >= b.size())
            return stringbuffer.toString();
        if(true) goto _L1; else goto _L3
_L3:
    }

    public String b()
    {
        StringBuffer stringbuffer;
        int i;
        int j;
        j = hs.c;
        stringbuffer = null;
        if(!c())
            break MISSING_BLOCK_LABEL_142;
        stringbuffer = new StringBuffer();
        i = 0;
        if(j == 0) goto _L2; else goto _L1
_L1:
        stringbuffer.append((String)c.elementAt(i));
        if(i + 2 < c.size())
        {
            stringbuffer.append(z[2]);
            if(j == 0)
                continue; /* Loop/switch isn't completed */
        }
        if(i + 1 < c.size())
            stringbuffer.append(z[0]);
        i++;
_L2:
        if(i < c.size()) goto _L1; else goto _L3
_L3:
        if(c.size() > 1)
        {
            stringbuffer.append(z[3]);
            if(j == 0)
                break MISSING_BLOCK_LABEL_142;
        }
        stringbuffer.append(z[1]);
        return stringbuffer.toString();
    }

    public boolean c()
    {
        return c.size() > 0;
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x1b;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key =0x65;
                    break;
                case 1:
                    key = 60;
                    break;
                case 2:
                    key = 29;
                    break;
                case 3:
                    key =60;
                    break;
                default:
                    key =27;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[] = new String[4];
        as[0] = z(z("E]sX;"));
        as[1] = z(z("EUn\034u\nH=];\023]qU\177EL|HsK"));
        as[2] = z(z("I\034"));
        as[3] = z(z("E]oY;\013Si\034m\004PtX;\025]iThK"));
        z = as;
    }
}